package com.qingcloud.task.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 任务关联来源数据id
 * </p>
 *
 * @author zhengjibin
 * @since 2022-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TdTaskSource对象", description="任务关联来源数据id")
@TableName(value = "td_task_source")
public class TaskSource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "数据来源id")
    private Long sourceId;

    @ApiModelProperty(value = "数据类型",example = "0")
    private Integer dataType;
}
